class CreateOperationsAssistances < ActiveRecord::Migration
  def self.up
    create_table :operations_assistances, :id => false do |t|
      t.integer  :operation_id, :assistance_id
    end
  
    add_index :operations_assistances, [:operation_id]
    add_index :operations_assistances, [:assistance_id]
  
  end

  def self.down
    drop_table :operations_assistances
  end
end
